
import moment from "moment";

//定义过滤器
const filters = {

    //时间过滤器
  formatDate: (value, formatString) => { 
    formatString = formatString || 'YYYY-MM-DD'
    return new moment(value).format(formatString)
  }

}



export default filters;